package com.zhengxin.service.impl;

import java.io.Serializable;
import java.util.List;

import com.zhengxin.dao.ITransferHistoryDao;
import com.zhengxin.pojo.TransferHistory;
import com.zhengxin.service.ITransferHistoryService;

public class TransferHistoryService implements ITransferHistoryService {

	private ITransferHistoryDao transferHistoryDao;
	
	public ITransferHistoryDao getTransferHistoryDao() {
		return transferHistoryDao;
	}

	public void setTransferHistoryDao(ITransferHistoryDao transferHistoryDao) {
		this.transferHistoryDao = transferHistoryDao;
	}

	@Override
	public void save(TransferHistory t) {
		transferHistoryDao.save(t);
	}

	@Override
	public TransferHistory findByid(Serializable id) {
		return transferHistoryDao.findByid(id);
	}

	@Override
	public List<TransferHistory> getAll() {
		return transferHistoryDao.getAll();
	}

	@Override
	public void update(TransferHistory t) {
		transferHistoryDao.update(t);
	}

	@Override
	public void delete(Serializable id) {
		transferHistoryDao.delete(id);
	}

	
}
